/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */

#ifndef D_ID5DB_SCRIPT_H
#define D_ID5DB_SCRIPT_H

#include "lua.h"

#define DEFAULT_LUA_SCRIPT "/home/np/id5db.lua"
#define CONFIG_TABLE_NAME "id5db"
#define REBUILD_FUN "gen_sql"

lua_State * id5db_script_init(const char *);
char * id5db_script_get_config(const char *);
void id5db_script_call_fun(uint64_t, const char *, size_t);

#endif  /* id5db_script.h */
